﻿using System;
using Lottery.App.Model;
using System.Collections.Generic;

namespace Lottery.App.DAL
{
    public class A3Dao : ResultDao<A3Info>
    {
        public override IList<int> GetIds(string value)
        {
            const string hql = "select r.id from RecordInfo r where A3 = ?";

            return Session.CreateQuery(hql)
                .SetString(0, value)
                .List<int>();
        }

        
    }
}
